<template>
	<view class="rulesOfPlay">
		<view class="" v-if="imgList == 0">
			<null-box></null-box>
		</view>
		<block v-else>
	    	<image v-for="(item,index) in imgList" :key="index" class="imgBox" :src="item.picture" mode="widthFix"></image>
		</block>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				imgList:[],
				id:'',
			}
		},
		onLoad(e) {
			let data = {
				boxActivityId: e.id
			}
			this.$api.getActivityPictureList(data).then(res=>{
				this.imgList =  res.result.records
			})
		},
		methods: {
			
		}
	}
</script>

<style scoped>
	.rulesOfPlay{
		width: 100%;
	}
</style>
